﻿using System.Collections.Generic;
using SharpSvn;

namespace GraphicalSVN.GraphicSource.Dto
{
    public class SVNObject
    {
        private IList<SVNRevision> revisions = new List<SVNRevision>();

        public string ObjectPath { get; set; }

        public bool IsDirectory { get; set; }

        public string ParentDirectory { get; set; }

        public IList<SVNRevision> Revisions { get { return this.revisions; } }

        public void AddRevision(SVNRevision revision)
        {
            this.revisions.Add(revision);
        }

        public bool DoesExist { get; set; }

        public SvnChangeAction Action { get; set; }

        public double xPosition { get; set; }

        public double yPosition { get; set; }

        public double Size { get; set; }

        public double RepelingForce { get; set; }
    }
}


